package com.ruoyi.category.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 物品信息对象 sys_prop
 * 
 * @author yjf
 * @date 2022-07-07
 */
public class SysPorp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long propId;

    /** 名称 */
    private String propName;

    /** 图片 */
    private String propImage;

    /** 分组ID */
    private Integer groupId;

    /** 备注 */
    private String remark;

    /** 地图名称 */
    private String terrainName;

    /** 地图名称集合 */
    private String terrainNameStr;

    /** 地图ID集合 */
    private List<Long> terrainIds;

    /** 地图ID */
    private Long terrainId;

    /** 显示顺序 */
    private Integer propSort;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setPropId(Long propId) 
    {
        this.propId = propId;
    }

    public Long getPropId() 
    {
        return propId;
    }

    public void setPropName(String propName)
    {
        this.propName = propName;
    }

    public String getPropName() 
    {
        return propName;
    }
    public void setPropSort(Integer propSort) 
    {
        this.propSort = propSort;
    }

    public Integer getPropSort() 
    {
        return propSort;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }


    public String getPropImage() {
        return propImage;
    }

    public void setPropImage(String propImage) {
        this.propImage = propImage;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTerrainName() {
        return terrainName;
    }

    public void setTerrainName(String terrainName) {
        this.terrainName = terrainName;
    }

    public List<Long> getTerrainIds() {
        return terrainIds;
    }

    public void setTerrainIds(List<Long> terrainIds) {
        this.terrainIds = terrainIds;
    }

    public Long getTerrainId() {
        return terrainId;
    }

    public void setTerrainId(Long terrainId) {
        this.terrainId = terrainId;
    }


    public String getTerrainNameStr() {
        return terrainNameStr;
    }

    public void setTerrainNameStr(String terrainNameStr) {
        this.terrainNameStr = terrainNameStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("propId", getPropId())
            .append("propName", getPropName())
            .append("propSort", getPropSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
